<!DOCTYPE html>
<html lang="en">

<head>
    <title>秋季联赛活动</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
    <script src="../../js/jquery-3.2.1.min.js"></script>
    <link rel="stylesheet" href="../../css/public.css">
    <style>
        .register_bg {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            right: 0;
            background: url('../../images/reg/bg.png') center no-repeat;
            background-size: 100%;
            z-index: 1;
        }

        .home_zhangdui_nav {
            overflow: hidden;
            background: #021349 url('../../images/reg/back.png') 10px center no-repeat;
            background-size: .7rem;
        }
        
        .activity{
            margin-top: 60px;
            width: 100%;

        }
        
        .content{
            width: 100%;
        }
        .content_list{
            width: 90%;
            margin:0 auto;
        }
        .content_list_left{
            float: left;
            width: 100%;
            color: #D0D2F7;
            font-size: 0.4rem;
            padding-left: 3%;
            position: relative;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .content_list_left:before{
            content: "";
            display: block;
            position: absolute;
            top: 8px;
            left: 0px;
            width: 5px;
            height: 5px;
            border-radius: 100%;
            background: #F0B936;
        }
        .content_list_right{
            float: right;
            margin-top: 5px;
            color: #424582;
            width: 40%;
            text-align: right;
            font-size: 0.3rem;
            position: relative;
        }
        .content_list_right:before,
        .date:before{
            content: "";
            display: block;
            position: absolute;
            top: 4px;
            left: -35%;
            width: 45%;
            height: 2px;
            background: #424582;
        }

        .ModalFrame{
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.8);
            z-index: 999;
            display: none;
        }
        .ModalFrame_content{
            width: 80%;
            /*height: 200px;*/
            margin:0 auto;
            margin-top:200px;

        }
        .ModalFrame_content_head{
            width: 100%;
            height: 40px;
            background: #1B1D68;
            text-align: center;
            color: #D0D2F7;
            font-size: 0.5rem;
            line-height: 40px;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
            position: relative;
        }
        .none{
            width: .6rem;
            position: absolute;
            top: 8px;
            right: 5%;
        }
        .ModalFrame_content_bottom{
            width: 100%;
            height: 140px;
            background: #111351;
            border-bottom-left-radius: 6px;
            border-bottom-right-radius: 6px;
        }
        .text{
            color: #BFC1F2;
            font-size: 0.35rem;
            width: 90%;
            margin:0 auto;
            padding-top: 18px;
            line-height: 20px;
        }

        .date{
            float: right;
            margin-top: 5px;
            color: #424582;
            width: 30%;
            text-align: right;
            font-size: 0.3rem;
            position: relative;
            margin-right: 5%;
        }
    </style>
</head>

<body>

    <div class="register_bg">
        <div class="home_zhangdui_nav">
            <span class="goBack"></span>
            <span >秋季联赛活动</span>
        </div>
        
        <div class="activity">
            <ul class="content">
                

            </ul>
        </div>
        
        <div class="ModalFrame">
            <div class="ModalFrame_content">
                <div class="ModalFrame_content_head">
                    <p>详情</p>  
                    <img src="../../images/home/none.png" class="none">
                </div>
                <div class="ModalFrame_content_bottom">
                    <p class="text">2018年KPL春季联赛预选赛第九日精彩瞬间，本场OMG战术运营完美，经济完全压edg。己方白起被吊着打，东皇太一大招咬住却因输出不够未能击杀白起。</p>
                    <p class="date"></p>
                </div>
            </div>
        </div>
    </div>
    <script src="../../js/public.js"></script>
    <script>
        $(function () {
            let path = window.location.href;
        let type = path.split('?')[1].split('=')[1]
        $.post(systemNotice, {
            type
        }, (res) => {
            let obj = res.obj;
            obj.forEach((item, index) => {
                
                let msg=`<li class="content_list">
                    <p class="content_list_left">${item.fdContent}</p>
                    <p class="content_list_right">${item.fdCreateTime}</p>
                </li>`
                $('.content').append(msg)
            $('.content_list').eq(index).click(function(){
                $('.ModalFrame').fadeIn('fast')
                $('.text').text(item.fdContent)
                $('.date').text(item.fdCreatTime)
            })
            });
        });

        $('.none').click(function(){
            $('.ModalFrame').fadeOut('fast')            
        })

    })
    </script>
</body>

</html>